package com.topisv.tms.rest.qimen.qmentity.request.deliveryorderconfirm;

import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;

@XmlAccessorType(XmlAccessType.FIELD)
public class Package {
	@XmlElement(name = "logisticsCode")
	private String logisticsCode;	//物流公司编码, string (50) , SF=顺丰、EMS=标准快递、EYB=经济快件、ZJS=宅急送、YTO=圆通 、ZTO=中通 (ZTO) 、HTKY=百世汇通、UC=优速、STO=申通、TTKDEX=天天快递 、QFKD=全峰、FAST=快捷、POSTB=邮政小包 、GTO=国通、YUNDA=韵达, OTHER=其他，必填, (只传英文编码) 
	@XmlElement(name = "logisticsName")
	private String logisticsName;	//物流公司名称
	@XmlElement(name = "expressCode")
	private String expressCode;			//运单号
	@XmlElement(name = "packageCode")
	private String 	packageCode;		//包裹编号
	@XmlElement(name = "length")
	private double length;			//包裹长度（厘米）
	@XmlElement(name = "width")
	private double width;			//包裹宽度（厘米）
	@XmlElement(name = "height")
	private double height;				//包裹高度（厘米）
	@XmlElement(name = "weight")
	private double weight;			//包裹重量（千克）
	@XmlElement(name = "volume")
	private double volume;		//包裹体积
	@XmlElement(name = "invoiceNo")
	private String invoiceNo;		//发票号
	
	@XmlElementWrapper(name = "packageMaterialList")
	@XmlElement(name = "packageMaterial")
	private List<PackageMaterial> packageMaterial;
	
	@XmlElementWrapper(name = "items")
	@XmlElement(name = "item")
	private List<PackageItem> items;
	
	public String getLogisticsCode() {
		return logisticsCode;
	}

	public void setLogisticsCode(String logisticsCode) {
		this.logisticsCode = logisticsCode;
	}

	public String getLogisticsName() {
		return logisticsName;
	}

	public void setLogisticsName(String logisticsName) {
		this.logisticsName = logisticsName;
	}

	public String getExpressCode() {
		return expressCode;
	}

	public void setExpressCode(String expressCode) {
		this.expressCode = expressCode;
	}

	public String getPackageCode() {
		return packageCode;
	}

	public void setPackageCode(String packageCode) {
		this.packageCode = packageCode;
	}

	public double getLength() {
		return length;
	}

	public void setLength(double length) {
		this.length = length;
	}

	public double getWidth() {
		return width;
	}

	public void setWidth(double width) {
		this.width = width;
	}

	public double getHeight() {
		return height;
	}

	public void setHeight(double height) {
		this.height = height;
	}

	public double getWeight() {
		return weight;
	}

	public void setWeight(double weight) {
		this.weight = weight;
	}

	public double getVolume() {
		return volume;
	}

	public void setVolume(double volume) {
		this.volume = volume;
	}

	public String getInvoiceNo() {
		return invoiceNo;
	}

	public void setInvoiceNo(String invoiceNo) {
		this.invoiceNo = invoiceNo;
	}

	public List<PackageMaterial> getPackageMaterial() {
		return packageMaterial;
	}

	public void setPackageMaterial(List<PackageMaterial> packageMaterial) {
		this.packageMaterial = packageMaterial;
	}

	public List<PackageItem> getItems() {
		return items;
	}

	public void setItems(List<PackageItem> items) {
		this.items = items;
	}

}
